package com.geostar.constructionland.common.entity.dict;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 数据字典
 *
 * @author chenjianjun
 * @since 2020-09-09 14:47
 */
@ApiModel("数据字典")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("JSYD_DIC_ENTRY")
public class JsydDicEntry {

    @ApiModelProperty("字典ID")
    @TableField(value = "dictTypeId")
    private String dictTypeId;

    @ApiModelProperty("字典项编码")
    @TableField(value = "dictid")
    private String dictId;

    @ApiModelProperty("字典项名称")
    @TableField(value = "dictname")
    private String dictName;

    @ApiModelProperty("父ID，DICTID")
    @TableField(value = "parentid")
    private String parentId;

    @ApiModelProperty("扩展字段1")
    @TableField(value = "dictattri1")
    private String dictAttri1;

    @ApiModelProperty("扩展字段2")
    @TableField(value = "dictattri2")
    private String dictAttri2;

    @ApiModelProperty("扩展字段3")
    @TableField(value = "dictattri3")
    private String dictAttri3;

    @ApiModelProperty("排序")
    @TableField(value = "dictorder")
    private String dictOrder;

    @ApiModelProperty("主键")
    @TableId(value = "dictentryid",type = IdType.ASSIGN_UUID)
    private String dictEntryId;

    @ApiModelProperty("字典编码全路径")
    @TableField(value = "dictpath")
    private String dictPath;

    @ApiModelProperty("层级")
    @TableField(value = "cj")
    private BigDecimal cj;

    @ApiModelProperty("扩展字段4")
    @TableField(value = "dictattri4")
    private String dictAttri4;

    @ApiModelProperty("扩展字段5")
    @TableField(value = "dictattri5")
    private String dictAttri5;
}
